package com.atguigu.eduservice.client;

import com.atguigu.oss.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author luomingliang
 * @date 2020/6/27 10:53
 */
@Component
public class VodFileDegradeFeignClient implements VodClient{
    //出错之后会执行的方法

    @Override
    public R removeAlyVideo(String id) {
        return R.error().message("删除视频出错了");
    }

    @Override
    public R deleteBacth(List<String> videoIdsList) {
        return R.error().message("删除多个视频出错了");
    }
}
